<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>My JSP 'add.jsp' starting page</title>
<link href="<%=basePath%>/manager/css/style.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/manager/css/select.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript"
	src="<%=basePath%>/common/js/jQuery-1.9.1.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/manager/js/jQuery.validate.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/common/js/jquery_validate/jQuery.message_cn.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/common/js/jquery_validate/jQuery.metadate.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/common/js/jquery_validate/jQuery.extension.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/manager/js/jquery.idTabs.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/manager/js/select-ui.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>manager/js/bankMessage/add.js"></script>
<script type="text/javascript">
	$(document).ready(function(e) {
		$(".select1").uedSelect({
			width : 345
		});
		$(".select2").uedSelect({
			width : 167
		});
		$(".select3").uedSelect({
			width : 100
		});

	});
</script>
<style type="text/css">
#addForm i.error {
	color: Red;
	border-width: 0px;
}
</style>
</head>


<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="<%=basePath%>/common/pager/welcome.jsp">首页</a></li>
			<li>银行信息管理</li>
			<li>编辑银行信息</li>
		</ul>
	</div>

	<div class="formbody">

		<div class="formtitle">
			<span>基本信息</span>
		</div>

		<form action="../manager_bankmessage/update" id="addForm"
			method="post">
			<input id="bmId" name="bmId" type="hidden" class="dfinput" value="${bm.bmId}" />
			<ul class="forminfo">
				<li>
					<label>银行名称</label>
					<strong style="color: red">必填&nbsp;</strong>
					<input id="bmBankName" name="bmBankName" type="text" class="dfinput" value="${bm.bmBankName}" /><i></i>
				</li>

				<li>
					<label>银行卡号</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input id="bmNumber" name="bmNumber" type="text" class="dfinput" value="${bm.bmNumber}"/><i></i>
				</li>
				
				<li>
					<label>持卡人</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input id="bmCardHolder" name="bmCardHolder" type="text" class="dfinput" value="${bm.bmCardHolder}" /><i></i>
				</li>
				
				<li>
					<label>是否启用</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input name="bmStatus" type="radio" value="0" ${bm.bmStatus == 0 ? 'checked=checked':''} />是 &nbsp;&nbsp;&nbsp;&nbsp; 
					<input name="bmStatus" type="radio" value="1" ${bm.bmStatus == 1 ? 'checked=checked':''}/>否
				</li>
				
				<li>
					<label>备注</label> 
					<textarea id="bmRemark" name="bmRemark" class="textinput">${bm.bmRemark}</textarea><i></i>
				</li>
				
				<li>
					<label>&nbsp;</label> 
					<input type="button" class="btn" value="确认修改" onclick="javascript:$('.tip').css('display', 'block');" />&nbsp;
					<input type="button" class="btn" value="返回" onclick="javascript:location.href='<%=basePath%>/manager/bankMessage/list.jsp'" />
				</li>
				
				<div class="tip">
					<div class="tiptop">
						<span>提示信息</span><a
							onclick="javascript:$('.tip').css('display', 'none');"></a>
					</div>

					<div class="tipinfo">
						<span><img src="<%=basePath%>/manager/images/ticon.png" /></span>
						<div class="tipright">
							<p>是否确认对信息的修改 ？</p>
							<cite>如果是请点击确定按钮 ，否则请点取消。</cite>
						</div>
					</div>

					<div class="tipbtn">
						<input type="submit" " class="sure" value="确定" />&nbsp; <input
							type="button" class="cancel" value="取消"
							onclick="javascript:$('.tip').css('display', 'none');" />
					</div>
				</div>
			</ul>
		</form>

	</div>
</body>
</html>
